home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8"?>
- <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
- <!ENTITY author1 "Sun">
- <!ENTITY author2 "Java Desktop System Documentation Team">
- <!ENTITY publisher "Sun Microsystems, Inc.">
- <!ENTITY legal SYSTEM "legal.xml">
- <!ENTITY appversion "2.6.0">
- <!ENTITY app "<application>Zenity</application>">
- <!ENTITY appname "Zenity">
- <!ENTITY date "August 2004">
- <!ENTITY manrevision "2.0">
- ]>
- <!-- ================ Document Header ================= -->
- <article id="index" lang="bg">
-
- <articleinfo>
- <title>–†—ä–∫–æ–≤–æ–¥—Å—Ç–≤–æ –∑–∞ Zenity</title>
- <subtitle>–†—ä–∫–æ–≤–æ–¥—Å—Ç–≤–æ –∑–∞ Zenity, –≤–µ—Ä—Å–∏—è 2.0</subtitle>
- <copyright>
- <year>2003</year>
- <year>2004</year>
- <holder>Sun Microsystems, Inc.</holder>
- </copyright><copyright><year>2005</year><holder>–†–æ—Å—Ç–∏—Å–ª–∞–≤ "zbrox" –†–∞–π–∫–æ–≤ (zbrox@i-space.org)</holder></copyright>
-
- <!-- Translators: uncomment this
- <copyright>
- <year>2004</year>
- <holder>ME_THE_TRANSLATOR</holder>
- </copyright>
- -->
-
- <publisher>
- <publishername>Sun Microsystems, Inc.</publishername>
- </publisher>
-
- <legalnotice id="legalnotice">
- <para>Предоставя се разрешение за копиране, разпространение и/или промяна на този документ, съгласно условията на „Лиценза за свободна документация на GNU“, версия 1.1 или всяка следваща версия, издадена от Фондация „Свободен софтуер“; без „Непроменливи раздели“, „Текстове на предната корица“, както и „Текстове на задната корица“. Копие на лиценза може да бъде намерено <ulink type="help" url="ghelp:fdl">тук</ulink> или във файла COPYING-DOCS, разпространяван с това ръководство.</para>
- <para>–¢–æ–≤–∞ —Ä—ä–∫–æ–≤–æ–¥—Å—Ç–≤–æ –µ —á–∞—Å—Ç –æ—Ç –∫–æ–ª–µ–∫—Ü–∏—è —Ä—ä–∫–æ–≤–æ–¥—Å—Ç–≤–∞ –∑–∞ GNOME, —Ä–∞–∑–ø—Ä–æ—Å—Ç—Ä–∞–Ω—è–≤–∞–Ω–∏ –ø–æ–¥ GFDL. –ê–∫–æ –∏—Å–∫–∞—Ç–µ –¥–∞ —Ä–∞–∑–ø—Ä–æ—Å—Ç—Ä–∞–Ω—è–≤–∞—Ç–µ —Ç–æ–≤–∞ —Ä—ä–∫–æ–≤–æ–¥—Å—Ç–≤–æ –æ—Ç–¥–µ–ª–Ω–æ, –º–æ–∂–µ—Ç–µ –¥–∞ –≥–æ –Ω–∞–ø—Ä–∞–≤–∏—Ç–µ, –∫–∞—Ç–æ –≤–∫–ª—é—á–∏—Ç–µ –∫–æ–ø–∏–µ –Ω–∞ –ª–∏—Ü–µ–Ω–∑–∞ –∫—ä–º —Ä—ä–∫–æ–≤–æ–¥—Å—Ç–≤–æ—Ç–æ, –∫–∞–∫—Ç–æ –µ –æ–ø–∏—Å–∞–Ω–æ –≤ —Ä–∞–∑–¥–µ–ª 6 –æ—Ç –ª–∏—Ü–µ–Ω–∑–∞.</para>
-
- <para>–ú–Ω–æ–≥–æ –æ—Ç –∏–º–µ–Ω–∞—Ç–∞, –∏–∑–ø–æ–ª–∑–≤–∞–Ω–∏ –æ—Ç –∫–æ–º–ø–∞–Ω–∏–∏, –∑–∞ –¥–∞ –æ—Ç–ª–∏—á–∞–≤–∞—Ç —Å–æ–±—Å—Ç–≤–µ–Ω–∏—Ç–µ —Å–∏ –ø—Ä–æ–¥—É–∫—Ç–∏ –∏ —É—Å–ª—É–≥–∏, —Å–∞ —Ä–µ–≥–∏—Å—Ç—Ä–∏—Ä–∞–Ω–∏ —Ç—ä—Ä–≥–æ–≤—Å–∫–∏ –º–∞—Ä–∫–∏. –ö–æ–≥–∞—Ç–æ —Ç–∞–∫–∏–≤–∞ –∏–º–µ–Ω–∞ –ø—Ä–∏—Å—ä—Å—Ç–≤–∞—Ç –≤ –∫–æ—è—Ç–æ –∏ –¥–∞ –µ –¥–æ–∫—É–º–µ–Ω—Ç–∞—Ü–∏—è –∑–∞ GNOME –∏ —á–ª–µ–Ω–æ–≤–µ—Ç–µ –Ω–∞ –ø—Ä–æ–µ–∫—Ç–∞ –∑–∞ –¥–æ–∫—É–º–µ–Ω—Ç–∞—Ü–∏—è –Ω–∞ GNOME —Å–∞ –æ—Å–≤–µ–¥–æ–º–µ–Ω–∏ –∑–∞ —Å—ä–æ—Ç–≤–µ—Ç–Ω–∏—Ç–µ —Ç—ä—Ä–≥–æ–≤—Å–∫–∏ –º–∞—Ä–∫–∏, —Ç–æ–≥–∞–≤–∞ –∏–º–µ–Ω–∞—Ç–∞ —Å–∞ —Å –≥–ª–∞–≤–Ω–∏ –±—É–∫–≤–∏ –∏–ª–∏ –Ω–∞—á–∞–ª–Ω–∏ –≥–ª–∞–≤–Ω–∏ –±—É–∫–≤–∏.</para>
-
- <para>–î–û–ö–£–ú–ï–ù–¢–™–¢ –ò –ü–†–û–ú–ï–ù–ï–ù–ò–¢–ï –ú–£ –í–ï–†–°–ò–ò –°–ï –ü–†–ï–î–û–°–¢–ê–í–Ø–¢ –ü–û–î –£–°–õ–û–í–ò–Ø–¢–ê –ù–ê –õ–ò–¶–ï–ù–ó–ê –ó–ê –°–í–û–ë–û–î–ù–ê –î–û–ö–£–ú–ï–ù–¢–ê–¶–ò–Ø –ù–ê GNU, –° –î–û–ü–™–õ–ù–ò–¢–ï–õ–ù–û–¢–û –ü–û–Ø–°–ù–ï–ù–ò–ï, –ß–ï:<orderedlist>
- <listitem>
- <para>ДОКУМЕНТЪТ СЕ ПРЕДОСТАВЯ НА БАЗА „КАКТО Е“, БЕЗ КАКВАТО И ДА Е ГАРАНЦИЯ, ПРЯКА ИЛИ КОСВЕНА, ВКЛЮЧИТЕЛНО БЕЗ ОГРАНИЧЕНИЯ И ГАРАНЦИИ, ЧЕ ДОКУМЕНТЪТ ИЛИ ПРОМЕНЕНАТА МУ ВЕРСИЯ СА БЕЗ ДЕФЕКТИ, ГОДНИ ЗА КОНКРЕТНА УПОТРЕБА ИЛИ НЕНАРУШАВАЩИ. ЦЕЛИЯТ РИСК ОТНОСНО КАЧЕСТВОТО, ТОЧНОСТТА И ХАРАКТЕРИСТИКИТЕ НА ДОКУМЕНТА ИЛИ ПРОМЕНЕНАТА МУ ВЕРСИЯ Е ЗА ВАША СМЕТКА. АКО НЯКОЙ ДОКУМЕНТ ИЛИ ПРОМЕНЕНАТА МУ ВЕРСИЯ СЕ ОКАЖЕ ДЕФЕКТЕН В КАКВОТО И ДА Е ОТНОШЕНИЕ, ВИЕ (НЕ ПЪРВОНАЧАЛНИЯ АВТОР ИЛИ КОЙТО И ДА Е ДОПРИНЕСЪЛ ЗА РАЗРАБОТКАТА) ПОЕМАТЕ РАЗХОДИТЕ ЗА ВСЯКАКВО НЕОБХОДИМО ОБСЛУЖВАНЕ, ПОПРАВКА ИЛИ КОРЕКЦИИ. ТОВА ОТКАЗВАНЕ ОТ ГАРАНЦИЯТА ПРЕДСТАВЛЯВА СЪЩЕСТВЕНА ЧАСТ ОТ ТОЗИ ЛИЦЕНЗ. НЕ Е РАЗРЕШЕНА УПОТРЕБАТА НА КОЙТО И ДА Е ДОКУМЕНТ ИЛИ ПРОМЕНЕНАТА ВЕРСИЯ НА ДОКУМЕНТА, ОСВЕН ПРИ СПАЗВАНЕ НА ТОЗИ ОТКАЗ ОТ ГАРАНЦИЯ; И</para>
- </listitem>
- <listitem>
- <para>–ü–†–ò –ù–ò–ö–ê–ö–í–ò –û–ë–°–¢–û–Ø–¢–ï–õ–°–¢–í–ê –ò –ü–û–î –ù–ò–ö–ê–ö–í–ê –Æ–†–ò–î–ò–ß–ï–°–ö–ê –û–°–ù–û–í–ê, –ù–ï–ó–ê–í–ò–°–ò–ú–û –î–ê–õ–ò –ï –í –ù–ê–†–£–®–ï–ù–ò–ï (–í–ö–õ–Æ–ß–ò–¢–ï–õ–ù–û –ü–†–ò–ß–ò–ù–ï–ù–û –û–¢ –ù–ï–ë–†–ï–ñ–ù–û–°–¢), –î–û–ì–û–í–û–† –ò–õ–ò –î–†–£–ì–û, –ê–í–¢–û–†–™–¢, –ü–™–†–í–û–ù–ê–ß–ê–õ–ù–ò–Ø–¢ –ê–í–¢–û–† –ò–õ–ò –ö–û–ô–¢–û –ò –î–ê –ï –î–û–ü–†–ò–ù–ï–°–™–õ –ó–ê –†–ê–ó–†–ê–ë–û–¢–ö–ê–¢–ê, –ò–õ–ò –ö–û–ô–¢–û –ò –î–ê –ï –î–ò–°–¢–†–ò–ë–£–¢–û–† –ù–ê –î–û–ö–£–ú–ï–ù–¢–ê –ò–õ–ò –ü–†–û–ú–ï–ù–ï–ù–ê–¢–ê –ú–£ –í–ï–†–°–ò–Ø, –ò–õ–ò –ö–û–ô–¢–û –ò –î–ê –ï –î–û–°–¢–ê–í–ß–ò–ö –ù–ê –ö–û–Ø–¢–û –ò –î–ê –ï –û–¢ –ò–ó–ë–†–û–ï–ù–ò–¢–ï –°–¢–†–ê–ù–ò, –ù–Ø–ú–ê –î–ê –ë–™–î–ï –û–¢–ì–û–í–û–†–ï–ù –ü–†–ï–î –ù–ò–ö–û–ì–û –ó–ê –í–°–ò–ß–ö–ò –ü–†–ï–ö–ò, –ö–û–°–í–ï–ù–ò, –°–ü–ï–¶–ò–ê–õ–ù–ò, –°–õ–£–ß–ê–ô–ù–ò –ò–õ–ò –ü–û–°–õ–ï–î–°–¢–í–ï–ù–ò –©–ï–¢–ò –û–¢ –ö–ê–ö–™–í–¢–û –ò –î–ê –ï –•–ê–†–ê–ö–¢–ï–†, –í–ö–õ–Æ–ß–ò–¢–ï–õ–ù–û, –ë–ï–ó –û–ì–†–ê–ù–ò–ß–ï–ù–ò–Ø, –©–ï–¢–ò –ó–ê –ó–ê–ì–£–ë–ê –ù–ê –î–û–ë–†–û–ñ–ï–õ–ê–¢–ï–õ–ù–û–°–¢, –°–ü–ò–†–ê–ù–ï –ù–ê –†–ê–ë–û–¢–ê–¢–ê, –ö–û–ú–ü–Æ–¢–™–†–ù–ê –ü–û–í–†–ï–î–ê –ò–õ–ò –ù–ï–ò–ó–ü–†–ê–í–ù–û–°–¢, –ò–õ–ò –í–°–Ø–ö–ê–ö–í–ò –î–†–£–ì–ò –©–ï–¢–ò –ò–õ–ò –ó–ê–ì–£–ë–ò, –í–™–ó–ù–ò–ö–ù–ê–õ–ò –ò–õ–ò –°–í–™–†–ó–ê–ù–ò –° –£–ü–û–¢–†–ï–ë–ê–¢–ê –ù–ê –î–û–ö–£–ú–ï–ù–¢–ê –ò–õ–ò –ü–†–û–ú–ï–ù–ï–ù–ò–¢–ï –ú–£ –í–ï–†–°–ò–ò, –î–û–†–ò –ò –ö–û–ì–ê–¢–û –¢–ê–ó–ò –°–¢–†–ê–ù–ê –ï –ë–ò–õ–ê –ò–ù–§–û–†–ú–ò–†–ê–ù–ê –ó–ê –í–™–ó–ú–û–ñ–ù–û–°–¢–¢–ê –û–¢ –¢–ê–ö–ò–í–ê –©–ï–¢–ò.</para>
- </listitem>
- </orderedlist></para>
- </legalnotice>
-
-
-
- <authorgroup>
- <author>
- <firstname>Sun</firstname>
- <surname>Java Desktop System Documentation Team</surname>
- <affiliation><orgname>Sun Microsystems, Inc.</orgname></affiliation>
- </author>
- <author role="maintainer">
- <firstname>Glynn</firstname>
- <surname>Foster</surname>
- <affiliation>
- <orgname>–ü—Ä–æ–µ–∫—Ç –∑–∞ –¥–æ–∫—É–º–µ–Ω—Ç–∞—Ü–∏—è –Ω–∞ GNOME</orgname>
- </affiliation>
- </author>
- <editor>
- <firstname>Nicholas</firstname>
- <surname>Curran</surname>
- <affiliation>
- <orgname>–ü—Ä–æ–µ–∫—Ç –∑–∞ –¥–æ–∫—É–º–µ–Ω—Ç–∞—Ü–∏—è –Ω–∞ GNOME</orgname>
- </affiliation>
- </editor>
- </authorgroup>
-
- <revhistory>
- <revision>
- <revnumber>–†—ä–∫–æ–≤–æ–¥—Å—Ç–≤–æ –∑–∞ Zenity, –≤–µ—Ä—Å–∏—è 2.0</revnumber>
- <date>August 2004</date>
- <revdescription>
- <para role="author">Sun Java Desktop System Documentation Team</para>
- <para role="publisher">Sun Microsystems, Inc.</para>
- </revdescription>
- </revision>
-
- <revision>
- <revnumber>–†—ä–∫–æ–≤–æ–¥—Å—Ç–≤–æ –∑–∞ Zenity, –≤–µ—Ä—Å–∏—è 1.0</revnumber>
- <date>–Ø–Ω—É–∞—Ä–∏ 2003</date>
- <revdescription>
- <para role="author">Glynn Foster</para>
- <para role="publisher">–ü—Ä–æ–µ–∫—Ç –∑–∞ –¥–æ–∫—É–º–µ–Ω—Ç–∞—Ü–∏—è –Ω–∞ GNOME</para>
- </revdescription>
- </revision>
- </revhistory>
-
- <releaseinfo>–¢–æ–≤–∞ —Ä—ä–∫–æ–≤–æ–¥—Å—Ç–≤–æ –µ –∑–∞ –≤–µ—Ä—Å–∏—è 2.6 –Ω–∞ –ø—Ä–æ–≥—Ä–∞–º–∞—Ç–∞ Zenity.</releaseinfo>
-
- <legalnotice>
- <title>–û–±—Ä–∞—Ç–Ω–∞ –≤—Ä—ä–∑–∫–∞</title>
- <para>–ó–∞ –æ–±—Ä–∞—Ç–Ω–∞ –≤—Ä—ä–∑–∫–∞, —Å–ª–µ–¥–≤–∞–π—Ç–µ –∏–Ω—Å—Ç—Ä—É–∫—Ü–∏–∏—Ç–µ –Ω–∞ <ulink url="ghelp:gnome-feedback" type="help">–°—Ç—Ä–∞–Ω–∏—Ü–∞—Ç–∞ –∑–∞ –æ–±—Ä–∞—Ç–Ω–∞ –≤—Ä—ä–∑–∫–∞</ulink>.</para>
- <!-- Translators may also add here feedback address for translations -->
-
- </legalnotice>
- <abstract role="description">
- <para>Zenity –µ –Ω–∞—Å–ª–µ–¥–Ω–∏–∫—ä—Ç –Ω–∞ gdialog - –≤–∞—Ä–∏–∞–Ω—Ç—ä—Ç –Ω–∞ dialog –∑–∞ GNOME. –ü—Ä–æ–≥—Ä–∞–º–∞—Ç–∞ –ø–æ–∑–≤–æ–ª—è–≤–∞ –ø–æ–∫–∞–∑–≤–∞–Ω–µ—Ç–æ –Ω–∞ –¥–∏–∞–ª–æ–≥–æ–≤–∏ –ø—Ä–æ–∑–æ—Ä—Ü–∏, —Å –∫–æ–∏—Ç–æ –¥–∞ —Å–µ –æ—Å—ä—â–µ—Å—Ç–≤—è–≤–∞ –æ–±–º–µ–Ω –Ω–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è —Å—ä—Å —Å–∫—Ä–∏–ø—Ç–æ–≤–µ –∑–∞ –∫–æ–º–∞–Ω–¥–Ω–∏—è —Ä–µ–¥.</para>
- </abstract>
- </articleinfo>
-
- <indexterm>
- <primary>zenity –∫–æ–º–∞–Ω–¥–∞</primary>
- </indexterm>
- <indexterm>
- <primary>—Å—ä–∑–¥–∞–≤–∞–Ω–µ –Ω–∞ –ø—Ä–æ–∑–æ—Ä—Ü–∏</primary>
- </indexterm>
- <!-- ================ Document Body ================= -->
-
- <!-- ==== Introduction ====== -->
-
- <sect1 id="zenity-introduction">
- <title>–í—ä–≤–µ–¥–µ–Ω–∏–µ</title>
-
- <para><application>Zenity</application> –í–∏ –ø–æ–∑–≤–æ–ª—è–≤–∞ –¥–∞ —Å—ä–∑–¥–∞–≤–∞—Ç–µ —Å–ª–µ–¥–Ω–∏—Ç–µ –≤–∏–¥–æ–≤–µ –ø—Ä–æ—Å—Ç–∏ –¥–∏–∞–ª–æ–≥–æ–≤–∏ –ø—Ä–æ–∑–æ—Ä—Ü–∏:</para>
-
- <itemizedlist>
- <listitem><para>–ö–∞–ª–µ–Ω–¥–∞—Ä</para></listitem>
- <listitem><para>–ò–∑–±–æ—Ä –Ω–∞ —Ñ–∞–π–ª</para></listitem>
- <listitem><para>–°–ø–∏—Å—ä–∫</para></listitem>
- <listitem><para>–ò–∫–æ–Ω–∞ –∑–∞ —É–≤–µ–¥–æ–º—è–≤–∞–Ω–µ</para></listitem>
- <listitem><para>–°—ä–æ–±—â–µ–Ω–∏–µ</para>
- <itemizedlist>
- <listitem><para>–ì—Ä–µ—à–∫–∞</para></listitem>
- <listitem><para>–ò–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è</para></listitem>
- <listitem><para>–í—ä–ø—Ä–æ—Å</para></listitem>
- <listitem><para>–ü—Ä–µ–¥—É–ø—Ä–µ–∂–¥–µ–Ω–∏–µ</para></listitem>
- </itemizedlist>
- </listitem>
- <listitem><para>–ü—Ä–æ–≥—Ä–µ—Å</para></listitem>
- <listitem><para>–¢–µ–∫—Å—Ç–æ–≤–æ –ø–æ–ª–µ</para></listitem>
- <listitem><para>–¢–µ–∫—Å—Ç–æ–≤–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è</para></listitem>
- </itemizedlist>
-
- </sect1>
-
- <!-- ==== Usage ====== -->
-
- <sect1 id="zenity-usage">
- <title>–£–ø–æ—Ç—Ä–µ–±–∞</title>
-
- <para>–ö–æ–≥–∞—Ç–æ –ø–∏—à–µ—Ç–µ —Å–∫—Ä–∏–ø—Ç–æ–≤–µ, –º–æ–∂–µ –¥–∞ –∏–∑–ø–æ–ª–∑–≤–∞—Ç–µ <application>Zenity</application>, –∑–∞ –¥–∞ —Å—ä–∑–¥–∞–≤–∞—Ç–µ –ø—Ä–æ—Å—Ç–∏ –¥–∏–∞–ª–æ–≥–æ–≤–∏ –ø—Ä–æ–∑–æ—Ä—Ü–∏, –∫–æ–∏—Ç–æ –¥–∞ –∏–Ω—Ç–µ—Ä–∞–∫—Ç–∏—Ä–∞—Ç –≥—Ä–∞—Ñ–∏—á–Ω–æ —Å –ø–æ—Ç—Ä–µ–±–∏—Ç–µ–ª—è, –∫–∞–∫—Ç–æ —Å–ª–µ–¥–≤–∞:</para>
- <itemizedlist>
- <listitem>
- <para>–ú–æ–∂–µ –¥–∞ —Å—ä–∑–¥–∞–≤–∞—Ç–µ –ø—Ä–æ–∑–æ—Ä—Ü–∏, –∫–æ–∏—Ç–æ –¥–∞ –∏–∑–∏—Å–∫–≤–∞—Ç –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è –æ—Ç –ø–æ—Ç—Ä–µ–±–∏—Ç–µ–ª—è. –ü—Ä–∏–º–µ—Ä–Ω–æ, –º–æ–∂–µ –¥–∞ –ø–∏—Ç–∞—Ç–µ –ø–æ—Ç—Ä–µ–±–∏—Ç–µ–ª—è –¥–∞ –∏–∑–±–µ—Ä–µ—Ç–µ –¥–∞—Ç–∞ –æ—Ç –∫–∞–ª–µ–Ω–¥–∞—Ä–µ–Ω –ø—Ä–æ–∑–æ—Ä–µ—Ü –∏–ª–∏ –¥–∞ –∏–∑–±–µ—Ä–µ —Ñ–∞–π–ª –æ—Ç –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –∏–∑–±–æ—Ä –Ω–∞ —Ñ–∞–π–ª.</para>
- </listitem>
- <listitem>
- <para>–ú–æ–∂–µ –¥–∞ —Å—ä–∑–¥–∞–≤–∞—Ç–µ –ø—Ä–æ–∑–æ—Ä—Ü–∏, –∫–æ–∏—Ç–æ –¥–∞ –ø—Ä–µ–¥–æ—Å—Ç–∞–≤—è—Ç –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è –Ω–∞ –ø–æ—Ç—Ä–µ–±–∏—Ç–µ–ª—è. –ü—Ä–∏–º–µ—Ä–Ω–æ, –º–æ–∂–µ –¥–∞ –∏–∑–ø–æ–ª–∑–≤–∞—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –ø—Ä–æ–≥—Ä–µ—Å, –∑–∞ –¥–∞ –ø–æ–∫–∞–∂–µ—Ç–µ —Ç–µ–∫—É—â–æ—Ç–æ —Å—ä—Å—Ç–æ—è–Ω–∏–µ –Ω–∞ –æ–ø–µ—Ä–∞—Ü–∏—è –∏–ª–∏ –¥–∞ –∏–∑–ø–æ–ª–∑–≤–∞—Ç–µ –ø—Ä–µ–¥—É–ø—Ä–µ–¥–∏—Ç–µ–ª–Ω–æ —Å—ä–æ–±—â–µ–Ω–∏–µ, –∑–∞ –¥–∞ —Å–∏–≥–Ω–∞–ª–∏–∑–∏—Ä–∞—Ç–µ –∑–∞ –Ω–µ—â–æ –Ω–∞ –ø–æ—Ç—Ä–µ–±–∏—Ç–µ–ª—è.</para>
- </listitem>
- </itemizedlist>
- <para>–ö–æ–≥–∞—Ç–æ –ø–æ—Ç—Ä–µ–±–∏—Ç–µ–ª—è—Ç –∑–∞—Ç–≤–æ—Ä–∏ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞, <application>Zenity</application> –ø–æ–∫–∞–∑–≤–∞ —Ç–µ–∫—Å—Ç—ä—Ç –ø—Ä–æ–∏–∑–≤–µ–¥–µ–Ω –æ—Ç –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ –∫—ä–º —Å—Ç–∞–Ω–¥–∞—Ä—Ç–Ω–∞—Ç–∞ –≥—Ä–µ—à–∫–∞.</para>
-
- <note>
- <para>–ö–æ–≥–∞—Ç–æ –ø–∏—à–µ—Ç–µ <application>Zenity</application> –∫–æ–º–∞–Ω–¥–∏, —Å–µ —É–≤–µ—Ä–µ—Ç–µ, —á–µ —Å—Ç–µ –ø–æ—Å—Ç–∞–≤–∏–ª–∏ –∫–∞–≤–∏—á–∫–∏ –æ–∫–æ–ª–æ –≤—Å–µ–∫–∏ –∞—Ä–≥—É–º–µ–Ω—Ç.</para>
- <para>–ù–∞–ø—Ä–∏–º–µ—Ä, –∏–∑–ø–æ–ª–∑–≤–∞–π—Ç–µ: <screen><userinput><command>zenity --calendar --title="–ü–ª–∞–Ω–∏—Ä–∞–Ω–µ –Ω–∞ –ø–æ—á–∏–≤–∫–∞"</command></userinput></screen>–ù–µ –∏–∑–ø–æ–ª–∑–≤–∞–π—Ç–µ: <screen><userinput><command>zenity --calendar --title=–ü–ª–∞–Ω–∏—Ä–∞–Ω–µ –Ω–∞ –ø–æ—á–∏–≤–∫–∞</command></userinput></screen>.</para>
- <para>–ê–∫–æ –Ω–µ –∏–∑–ø–æ–ª–∑–≤–∞—Ç–µ –∫–∞–≤–∏—á–∫–∏, –º–æ–∂–µ –¥–∞ –ø–æ–ª—É—á–∏—Ç–µ –Ω–µ–æ—á–∞–∫–≤–∞–Ω–∏ —Ä–µ–∑—É–ª–∞—Ç–∏.</para>
- </note>
-
- <sect2 id="zenity-usage-mnemonics">
- <title>–ë—ä—Ä–∑–∏ –∫–ª–∞–≤–∏—à–∏</title>
- <para>–ë—ä—Ä–∑–∏—è—Ç –∫–ª–∞–≤–∏—à –µ –∫–ª–∞–≤–∏—à, –∫–æ–π—Ç–æ –í–∏ –ø–æ–∑–≤–æ–ª—è–≤–∞ –¥–∞ –∏–∑–≤—ä—Ä—à–≤–∞—Ç–µ –¥–µ–π—Å—Ç–≤–∏–µ –æ—Ç –∫–ª–∞–≤–∏–∞—Ç—É—Ä–∞—Ç–∞ –±–µ–∑ –¥–∞ –∏–∑–ø–æ–ª–∑–≤–∞—Ç–µ –º–∏—à–∫–∞—Ç–∞, –∑–∞ –¥–∞ –∏–∑–±–µ—Ä–µ—Ç–µ –∫–æ–º–∞–Ω–¥–∞—Ç–∞ –æ—Ç –º–µ–Ω—é—Ç–æ –∏–ª–∏ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞. –í—Å–µ–∫–∏ –±—ä—Ä–∑ –∫–ª–∞–≤–∏—à —Å–µ –∏–¥–µ–Ω—Ç–∏—Ñ–∏—Ü–∏—Ä–∞ –æ—Ç –ø–æ–¥—á–µ—Ä—Ç–∞–Ω–∞ –±—É–∫–≤–∞ –≤ –º–µ–Ω—é—Ç–æ –∏–ª–∏ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞.</para>
- <para>–ù—è–∫–æ–∏ –ø—Ä–æ–∑–æ—Ä—Ü–∏ –Ω–∞ <application>Zenity</application> –ø–æ–¥–¥—ä—Ä–∂–∞—Ç –∏–∑–ø–æ–ª–∑–≤–∞–Ω–µ—Ç–æ –Ω–∞ –±—ä—Ä–∑–∏ –∫–ª–∞–≤–∏—à–∏. –ó–∞ –¥–∞ –æ–ø—Ä–µ–¥–µ–ª–∏—Ç–µ —Å–∏–º–≤–æ–ª–∞, –∫–æ–π—Ç–æ –¥–∞ —Å–µ –∏–∑–ø–æ–ª–∑–≤–∞ –∫–∞—Ç–æ –±—ä—Ä–∑ –∫–ª–∞–≤–∏—à –ø–æ—Å—Ç–∞–≤–µ—Ç–µ –¥–æ–ª–Ω–∞ —á–µ—Ä–Ω–∞ –ø—Ä–µ–¥ —Å–∏–º–≤–æ–ª–∞ –≤ —Ç–µ–∫—Å—Ç–∞ –Ω–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞. –°–ª–µ–¥–Ω–∏—è—Ç –ø—Ä–∏–º–µ—Ä –ø–æ–∫–∞–∑–≤–∞ –∫–∞–∫ –¥–∞ –æ–ø—Ä–µ–¥–µ–ª–∏—Ç–µ –±—É–∫–≤–∞—Ç–∞ "–ò", –∫–∞—Ç–æ –±—ä—Ä–∑ –∫–ª–∞–≤–∏—à:</para>
- <screen><userinput>"_–ò–∑–±–µ—Ä–µ—Ç–µ –∏–º–µ".</userinput></screen>
- </sect2>
-
- <sect2 id="zenity-usage-exitcodes">
- <title>–ò–∑—Ö–æ–¥–Ω–∏ –∫–æ–¥–æ–≤–µ</title>
- <para><application>Zenity</application> –≤—Ä—ä—â–∞ —Å–ª–µ–¥–Ω–∏—Ç–µ –∏–∑—Ö–æ–¥–Ω–∏ –∫–æ–¥–æ–≤–µ:</para>
-
- <informaltable frame="all">
- <tgroup cols="2" colsep="1" rowsep="1">
- <colspec colname="COLSPEC0" colwidth="50*"/>
- <colspec colname="COLSPEC1" colwidth="50*"/>
- <thead>
- <row valign="top">
- <entry colname="COLSPEC0">
- <para>–ò–∑—Ö–æ–¥–µ–Ω –∫–æ–¥</para></entry>
- <entry colname="COLSPEC1">
- <para>–û–ø–∏—Å–∞–Ω–∏–µ</para></entry>
- </row>
- </thead>
- <tbody>
- <row valign="top">
- <entry>
- <para><varname>0</varname></para>
- </entry>
- <entry>
- <para>–ü–æ—Ç—Ä–µ–±–∏—Ç–µ–ª—è—Ç –µ –Ω–∞—Ç–∏—Å–Ω–∞–ª –∏–ª–∏ <guibutton>–î–æ–±—Ä–µ</guibutton> –∏–ª–∏ <guibutton>–ó–∞—Ç–≤–∞—Ä—è–Ω–µ</guibutton>.</para>
- </entry>
- </row>
- <row valign="top">
- <entry>
- <para><varname>1</varname></para>
- </entry>
- <entry>
- <para>–ü–æ—Ç—Ä–µ–±–∏—Ç–µ–ª—è—Ç –µ –Ω–∞—Ç–∏—Å–Ω–∞–ª <guibutton>–û—Ç–∫–∞–∑</guibutton> –∏–ª–∏ –µ –∏–∑–ø–æ–ª–∑–≤–∞–ª —Ñ—É–Ω–∫—Ü–∏–∏—Ç–µ –Ω–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞, –∑–∞ –¥–∞ –≥–æ –∑–∞—Ç–≤–æ—Ä–∏.</para>
- </entry>
- </row>
- <row valign="top">
- <entry>
- <para><varname>-1</varname></para>
- </entry>
- <entry>
- <para>–í—ä–∑–Ω–∏–∫–Ω–∞–ª–∞ –µ –Ω–µ–æ—á–∞–∫–≤–∞–Ω–∞ –≥—Ä–µ—à–∫–∞.</para>
- </entry>
- </row>
- <row valign="top">
- <entry>
- <para><varname>5</varname></para>
- </entry>
- <entry>
- <para>The dialog has been closed because the timeout has been reached.</para>
- </entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
-
- </sect2>
-
-
- <!-- ==== General Options ====== -->
-
- <sect2 id="zenity-usage-general-options">
- <title>–û–±—â–∏ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏</title>
-
- <para>–í—Å–∏—á–∫–∏ <application>Zenity</application> –ø—Ä–æ–∑–æ—Ä—Ü–∏ –ø–æ–¥–¥—ä—Ä–∂–∞—Ç —Å–ª–µ–¥–Ω–∏—Ç–µ –æ–±—â–∏ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏:</para>
-
- <variablelist>
-
- <varlistentry>
- <term><option>--title</option>=<replaceable>–∑–∞–≥–ª–∞–≤–∏–µ</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è –∑–∞–≥–ª–∞–≤–∏–µ—Ç–æ –Ω–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--window-icon</option>=<replaceable>–ø—ä—Ç_–¥–æ_–∏–∫–æ–Ω–∞—Ç–∞</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è –∏–∫–æ–Ω–∞—Ç–∞, –∫–æ—è—Ç–æ —â–µ —Å–µ –ø–æ–∫–∞–∑–≤–∞ –≤ —Ä–∞–º–∫–∞—Ç–∞ –Ω–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞. –ò–º–∞ 4 –≥–µ–Ω–µ—Ä–∞–ª–Ω–∏ –∏–∫–æ–Ω–∏, –∫–æ–∏—Ç–æ —Å–∞ –Ω–∞–ª–∏—á–Ω–∏ —á—Ä–µ–∑ –¥–æ—Å—Ç–∞–≤—è–Ω–µ –Ω–∞ —Å–ª–µ–¥–Ω–∏—Ç–µ –∫–ª—é—á–æ–≤–∏ –¥—É–º–∏ - 'info', warning', 'question' –∏ 'error'.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--width</option>=<replaceable>—à–∏—Ä–∏–Ω–∞</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è —à–∏—Ä–∏–Ω–∞—Ç–∞ –Ω–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--height</option>=<replaceable>–≤–∏—Å–æ—á–∏–Ω–∞</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è –≤–∏—Å–æ—á–∏–Ω–∞—Ç–∞ –Ω–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--timeout</option>=<replaceable>timeout</replaceable></term>
- <listitem>
- <para>Specifies the timeout in seconds after which the dialog is closed.</para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
- </sect2>
-
- <!-- ==== Miscellaneous Options ====== -->
-
- <sect2 id="zenity-help-options">
- <title>–ù–∞—Å—Ç—Ä–æ–π–∫–∏ –Ω–∞ –ø–æ–º–æ—â—Ç–∞</title>
-
- <para><application>Zenity</application> –ø—Ä–µ–¥–æ—Å—Ç–∞–≤—è —Å–ª–µ–¥–Ω–∏—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏ –∑–∞ –ø–æ–º–æ—â:</para>
-
- <variablelist>
-
- <varlistentry>
- <term><option>--help</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ —Å–∫—ä—Å–µ–Ω —Ç–µ–∫—Å—Ç –∑–∞ –ø–æ–º–æ—â.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-all</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø—ä–ª–Ω–∏—è —Ç–µ–∫—Å—Ç –∑–∞ –ø–æ–º–æ—â –∑–∞ –≤—Å–∏—á–∫–∏ –ø—Ä–æ–∑–æ—Ä—Ü–∏.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-general</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø–æ–º–æ—â–Ω–∏—è —Ç–µ–∫—Å—Ç –∑–∞ –æ–±—â–∏—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-calendar</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø–æ–º–æ—â–Ω–∏—è —Ç–µ–∫—Å—Ç –∑–∞ –∫–∞–ª–µ–Ω–¥–∞—Ä–Ω–∏—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-entry</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø–æ–º–æ—â–Ω–∏—è —Ç–µ–∫—Å—Ç –∑–∞ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏ –ø–æ —Ç–µ–∫—Å—Ç–æ–≤–∏—Ç–µ –ø–æ–ª–µ—Ç–∞.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-error</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø–æ–º–æ—â–Ω–∏—è —Ç–µ–∫—Å—Ç –∑–∞ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏—Ç–µ –∑–∞ –≥—Ä–µ—à–∫–∞.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-info</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø–æ–º–æ—â–Ω–∏—è —Ç–µ–∫—Å—Ç –∑–∞ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏—Ç–µ –Ω–∞ –ø—Ä–æ–∑–æ—Ä—Ü–∏ –∑–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-file-selection</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø–æ–º–æ—â–Ω–∏—è —Ç–µ–∫—Å—Ç –∑–∞ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏—Ç–µ –Ω–∞ –ø—Ä–æ–∑–æ—Ä—Ü–∏ –∑–∞ –∏–∑–±–æ—Ä –Ω–∞ —Ñ–∞–π–ª.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-list</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø–æ–º–æ—â–Ω–∏—è —Ç–µ–∫—Å—Ç –∑–∞ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏—Ç–µ –Ω–∞ —Å–ø–∏—Å—ä—á–Ω–∏—Ç–µ –ø—Ä–æ–∑–æ—Ä—Ü–∏.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-notification</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø–æ–º–æ—â–Ω–∏—è —Ç–µ–∫—Å—Ç –∑–∞ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏—Ç–µ –Ω–∞ –∏–∫–æ–Ω–∞—Ç–∞ –∑–∞ —É–≤–µ–¥–æ–º—è–≤–∞–Ω–µ.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-progress</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø–æ–º–æ—â–Ω–∏—è —Ç–µ–∫—Å—Ç –∑–∞ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏—Ç–µ –Ω–∞ –ø—Ä–æ–≥—Ä–µ—Å–∞.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-question</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø–æ–º–æ—â–Ω–∏—è —Ç–µ–∫—Å—Ç –∑–∞ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏—Ç–µ –∑–∞ –ø—Ä–æ–∑–æ—Ä—Ü–∏—Ç–µ –∑–∞ –≤—ä–ø—Ä–æ—Å–∏.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-warning</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø–æ–º–æ—â–Ω–∏—è —Ç–µ–∫—Å—Ç –∑–∞ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏—Ç–µ –∑–∞ –ø—Ä–µ–¥—É–ø—Ä–µ–¥–∏—Ç–µ–ª–Ω–∏—Ç–µ –ø—Ä–æ–∑–æ—Ä—Ü–∏.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-text-info</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø–æ–º–æ—â–Ω–∏—è —Ç–µ–∫—Å—Ç –∑–∞ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏—Ç–µ –Ω–∞ —Ç–µ–∫—Å—Ç–æ–≤–∞—Ç–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-misc</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø–æ–º–æ—â—Ç–∞ –∑–∞ –¥–æ–ø—ä–ª–Ω–∏—Ç–µ–ª–Ω–∏—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--help-gtk</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø–æ–º–æ—â—Ç–∞ –∑–∞ GTK+ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏—Ç–µ.</para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
- </sect2>
-
- <!-- ==== Miscellaneous Options ====== -->
-
- <sect2 id="zenity-miscellaneous-options">
- <title>–î–æ–ø—ä–ª–Ω–∏—Ç–µ–ª–Ω–∏ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏</title>
-
- <para><application>Zenity</application> –ø—Ä–µ–¥–æ—Å—Ç–∞–≤—è –∏ —Å–ª–µ–¥–Ω–∏—Ç–µ –¥–æ–ø—ä–ª–Ω–∏—Ç–µ–ª–Ω–∏ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏:</para>
-
- <variablelist>
-
- <varlistentry>
- <term><option>--about</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü—ä—Ç <guilabel>–û—Ç–Ω–æ—Å–Ω–æ Zenity</guilabel>, –∫–æ–π—Ç–æ —Å—ä–¥—ä—Ä–∂–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è –∑–∞ –≤–µ—Ä—Å–∏—è—Ç–∞ –Ω–∞ <application>Zenity</application>, –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è –∑–∞ –∞–≤—Ç–æ—Ä—Å–∫–∏—Ç–µ –ø—Ä–∞–≤–∞ –∏ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è –∑–∞ —Ä–∞–∑—Ä–∞–±–æ—Ç—á–∏—Ü–∏—Ç–µ.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--version</option></term>
- <listitem>
- <para>–ü–æ–∫–∞–∑–≤–∞ –Ω–æ–º–µ—Ä–∞ –Ω–∞ –≤–µ—Ä—Å–∏—è—Ç–∞ –Ω–∞ <application>Zenity</application>.</para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
- </sect2>
-
- <!-- ==== GTK+ Options ====== -->
-
- <sect2 id="zenity-gtk-options">
- <title>GTK+ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏</title>
-
- <para><application>Zenity</application> –ø–æ–¥–¥—ä—Ä–∂–∞ —Å—Ç–∞–Ω–¥–∞—Ä—Ç–Ω–∏—Ç–µ GTK+ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏. –ó–∞ –ø–æ–≤–µ—á–µ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è –æ—Ç–Ω–æ—Å–Ω–æ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏—Ç–µ –Ω–∞ GTK+, –∏–∑–ø—ä–ª–Ω–µ—Ç–µ –∫–æ–º–∞–Ω–¥–∞—Ç–∞ <command>zenity -?</command></para>
-
- </sect2>
-
- </sect1>
- <!-- ==== Calendar Options ====== -->
-
- <sect1 id="zenity-calendar-options">
- <title>–ü—Ä–æ–∑–æ—Ä–µ—Ü —Å –∫–∞–ª–µ–Ω–¥–∞—Ä</title>
-
- <para>–ò–∑–ø–æ–ª–∑–≤–∞–π—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∞—Ç–∞ <option>--calendar</option>, –∑–∞ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –∫–∞–ª–µ–Ω–¥–∞—Ä–µ–Ω –ø—Ä–æ–∑–æ—Ä–µ—Ü. <application>Zenity</application> –≤—Ä—ä—â–∞ –∫—ä–º —Å—Ç–∞–Ω–¥–∞—Ä—Ç–Ω–∞ –≥—Ä–µ—à–∫–∞ –≤—ä–≤–µ–¥–µ–Ω–∞—Ç–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è. –ê–∫–æ –Ω–µ —Å–µ –æ–ø—Ä–µ–¥–µ–ª–∏ –¥–∞—Ç–∞ –æ—Ç –∫–æ–º–∞–Ω–¥–Ω–∏—è —Ä–µ–¥, –ø—Ä–æ–∑–æ—Ä–µ—Ü—ä—Ç —â–µ –∏–∑–ø–æ–ª–∑–≤–∞ —Ç–µ–∫—É—â–∞—Ç–∞ –¥–∞—Ç–∞.</para>
- <para>–ü—Ä–æ–∑–æ—Ä–µ—Ü—ä—Ç —Å –∫–∞–ª–µ–Ω–¥–∞—Ä –ø–æ–¥–¥—ä—Ä–∂–∞ —Å–ª–µ–¥–Ω–∏—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏:</para>
-
- <variablelist>
-
- <varlistentry>
- <term><option>--text</option>=<replaceable>—Ç–µ–∫—Å—Ç</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è —Ç–µ–∫—Å—Ç–∞, –∫–æ–π—Ç–æ —Å–µ –ø–æ–∫–∞–∑–≤–∞ –≤ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ —Å –∫–∞–ª–µ–Ω–¥–∞—Ä.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--day</option>=<replaceable>–¥–µ–Ω</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è –¥–µ–Ω—è, –∫–æ–π—Ç–æ –µ –∏–∑–±—Ä–∞–Ω –≤ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ —Å –∫–∞–ª–µ–Ω–¥–∞—Ä. <replaceable>–î–µ–Ω—è—Ç</replaceable> –º–æ–∂–µ –¥–∞ –µ —á–∏—Å–ª–æ –º–µ–∂–¥—É 1 –∏ 31, –≤–∫–ª—é—á–∏—Ç–µ–ª–Ω–æ.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--month</option>=<replaceable>–º–µ—Å–µ—Ü</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è –º–µ—Å–µ—Ü–∞, –∫–æ–π—Ç–æ –µ –∏–∑–±—Ä–∞–Ω –≤ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ —Å –∫–∞–ª–µ–Ω–¥–∞—Ä. <replaceable>–ú–µ—Å–µ—Ü—ä—Ç</replaceable> —Ç—Ä—è–±–≤–∞ –¥–∞ –µ —á–∏—Å–ª–æ –º–µ–∂–¥—É 1 –∏ 12, –≤–∫–ª—é—á–∏—Ç–µ–ª–Ω–æ.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--year</option>=<replaceable>–≥–æ–¥–∏–Ω–∞</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è –≥–æ–¥–∏–Ω–∞—Ç–∞, –∫–æ—è—Ç–æ –µ –∏–∑–±—Ä–∞–Ω–∞ –≤ –∫–∞–ª–µ–Ω–¥–∞—Ä–Ω–∏—è –ø—Ä–æ–∑–æ—Ä–µ—Ü.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--date-format</option>=<replaceable>—Ñ–æ—Ä–º–∞—Ç</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è —Ñ–æ—Ä–º–∞—Ç–∞, –∫–æ–π—Ç–æ –µ –≤—ä—Ä–Ω–∞—Ç –æ—Ç –∫–∞–ª–µ–Ω–¥–∞—Ä–Ω–∏—è –ø—Ä–æ–∑–æ—Ä–µ—Ü —Å–ª–µ–¥ –∏–∑–±–æ—Ä–∞ –Ω–∞ –¥–∞—Ç–∞. –°—Ç–∞–Ω–¥–∞—Ä—Ç–Ω–∏—è—Ç —Ñ–æ—Ä–º–∞—Ç –∑–∞–≤–∏—Å–∏ –æ—Ç –ª–æ–∫–∞–ª–∞—Ç–∞ –í–∏. <replaceable>–§–æ—Ä–º–∞—Ç—ä—Ç</replaceable> —Ç—Ä—è–±–≤–∞ –¥–∞ –µ —Ñ–æ—Ä–º–∞—Ç, –∫–æ–π—Ç–æ —Å–µ –ø—Ä–∏–µ–º–∞ –æ—Ç —Ñ—É–Ω–∫—Ü–∏—è—Ç–∞ <command>strftime</command>, –ø—Ä–∏–º–µ—Ä–Ω–æ <literal>%A %d/%m/%y</literal>.</para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
- <para>–°–ª–µ–¥–Ω–∏—è—Ç –ø—Ä–∏–º–µ—Ä–µ–Ω —Å–∫—Ä–∏–ø—Ç –ø–æ–∫–∞–∑–≤–∞ –∫–∞–∫ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü —Å –∫–∞–ª–µ–Ω–¥–∞—Ä: <programlisting>
- #!/bin/sh
-
-
- if zenity --calendar \
- --title="–ò–∑–±–µ—Ä–µ—Ç–µ –¥–∞—Ç–∞" \
- --text="–ù–∞—Ç–∏—Å–Ω–µ—Ç–µ –≤—ä—Ä—Ö—É –¥–∞—Ç–∞, –∑–∞ –¥–∞ —è –∏–∑–±–µ—Ä–µ—Ç–µ." \
- --day=10 --month=8 --year=2004
- then echo $?
- else echo "–ù—è–º–∞ –∏–∑–±—Ä–∞–Ω–∞ –¥–∞–∞—Ç–∞"
- fi
- </programlisting></para>
-
- <figure id="zenity-calendar-screenshot">
- <title>–ü—Ä–∏–º–µ—Ä–µ–Ω –ø—Ä–æ–∑–æ—Ä–µ—Ü —Å –∫–∞–ª–µ–Ω–¥–∞—Ä</title>
- <screenshot>
- <mediaobject>
- <imageobject>
- <imagedata fileref="figures/zenity-calendar-screenshot.png" format="PNG"/>
- </imageobject>
- <textobject>
- <phrase><application>Zenity</application> calendar dialog example</phrase>
- </textobject>
- </mediaobject>
- </screenshot>
- </figure>
-
- </sect1>
-
-
- <!-- ==== File Selection Options ====== -->
-
- <sect1 id="zenity-file-selection-options">
- <title>–ü—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –∏–∑–±–æ—Ä –Ω–∞ —Ñ–∞–π–ª–æ–≤–µ</title>
-
- <para>–ò–∑–ø–æ–ª–∑–≤–∞–π—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∞—Ç–∞ <option>--file-selection</option>, –∑–∞ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –∏–∑–±–æ—Ä –Ω–∞ —Ñ–∞–π–ª–æ–≤–µ. <application>Zenity</application> –≤—Ä—ä—â–∞ –∏–∑–±—Ä–∞–Ω–∏—Ç–µ —Ñ–∞–π–ª–æ–≤–µ –∏–ª–∏ –ø–∞–ø–∫–∏ –∫—ä–º —Å—Ç–∞–Ω–¥–∞—Ä—Ç–Ω–∞ –≥—Ä–µ—à–∫–∞. –°—Ç–∞–Ω–¥–∞—Ä—Ç–Ω–∏—è —Ä–µ–∂–∏–º –Ω–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ –µ –æ—Ç–≤–∞—Ä—è–Ω–µ.</para>
- <para>–ü—Ä–æ–∑–æ—Ä–µ—Ü—ä—Ç –∑–∞ –∏–∑–±–æ—Ä –Ω–∞ —Ñ–∞–π–ª–æ–≤–µ –ø–æ–¥–¥—ä—Ä–∂–∞ —Å–ª–µ–¥–Ω–∏—Ç–µ –æ–ø—Ü–∏–∏:</para>
-
- <variablelist>
-
- <varlistentry>
- <term><option>--filename</option>=<replaceable>—Ñ–∞–π–ª–æ–≤–æ –∏–º–µ</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è —Ñ–∞–π–ª–∞ –∏–ª–∏ –ø–∞–ø–∫–∞—Ç–∞, –∫–æ—è—Ç–æ –µ –∏–∑–±—Ä–∞–Ω–∞ –≤ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ –∑–∞ –∏–∑–±–æ—Ä –Ω–∞ —Ñ–∞–π–ª–æ–≤–µ, –∫–æ–≥–∞—Ç–æ –µ –ø–æ–∫–∞–∑–∞–Ω –∑–∞ –ø—Ä—ä–≤ –ø—ä—Ç.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--multiple</option></term>
- <listitem>
- <para>–ü–æ–∑–≤–æ–ª—è–≤–∞ –∏–∑–±–∏—Ä–∞–Ω–µ—Ç–æ –Ω–∞ –º–Ω–æ–∂–µ—Å—Ç–≤–æ —Ñ–∞–π–ª–æ–≤–µ –≤ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ –∑–∞ –∏–∑–±–æ—Ä –Ω–∞ —Ñ–∞–π–ª–æ–≤–µ.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--directory</option></term>
- <listitem>
- <para>–ü–æ–∑–≤–æ–ª—è–≤–∞ –∏–∑–±–∏—Ä–∞–Ω–µ—Ç–æ —Å–∞–º–æ –Ω–∞ –ø–∞–ø–∫–∏ –≤ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ –∑–∞ –∏–∑–±–æ—Ä –Ω–∞ —Ñ–∞–π–ª–æ–≤–µ.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--save</option></term>
- <listitem>
- <para>–ü–æ—Å—Ç–∞–≤—è–Ω–µ –Ω–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ –∑–∞ –∏–∑–±–æ—Ä –Ω–∞ —Ñ–∞–π–ª–æ–≤–µ –≤ —Ä–µ–∂–∏–º –Ω–∞ –∑–∞–ø–∞–∑–≤–∞–Ω–µ.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--separator</option>=<replaceable>—Ä–∞–∑–¥–µ–ª–∏—Ç–µ–ª</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è –Ω–∏–∑–∞ –∏–∑–ø–æ–ª–∑–≤–∞–Ω –∑–∞ —Ä–∞–∑–¥–µ–ª—è–Ω–µ –Ω–∞ –≤—ä—Ä–Ω–∞—Ç–∏—è —Å–ø–∏—Å—ä–∫ –æ—Ç —Ñ–∞–π–ª–æ–≤–∏ –∏–º–µ–Ω–∞.</para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
- <para>–°–ª–µ–¥–Ω–∏—è—Ç –ø—Ä–∏–º–µ—Ä–µ–Ω —Å–∫—Ä–∏–ø—Ç –ø–æ–∫–∞–∑–≤–∞ –∫–∞–∫ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –∏–∑–±—Ä–æ –Ω–∞ —Ñ–∞–π–ª–æ–≤–µ: <programlisting>
- #!/bin/sh
-
- FILE=`zenity --file-selection --title="–ò–∑–±–µ—Ä–µ—Ç–µ —Ñ–∞–π–ª"`
-
- case $? in
- 0)
- echo "–ò–∑–±—Ä–∞–Ω –µ —Ñ–∞–π–ª—ä—Ç \"$FILE\".";;
- 1)
- echo "–ù—è–º–∞ –∏–∑–±—Ä–∞–Ω —Ñ–∞–π–ª.";;
- -1)
- echo "–ù—è–º–∞ –∏–∑–±—Ä–∞–Ω —Ñ–∞–π–ª.";;
- esac
- </programlisting></para>
-
- <figure id="zenity-fileselection-screenshot">
- <title>–ü—Ä–∏–º–µ—Ä–µ–Ω –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –∏–∑–±–æ—Ä –Ω–∞ —Ñ–∞–π–ª–æ–≤–µ</title>
- <screenshot>
- <mediaobject>
- <imageobject>
- <imagedata fileref="figures/zenity-fileselection-screenshot.png" format="PNG"/>
- </imageobject>
- <textobject>
- <phrase><application>Zenity</application> file selection dialog example</phrase>
- </textobject>
- </mediaobject>
- </screenshot>
- </figure>
-
- </sect1>
-
- <!-- ==== Notification Options ====== -->
- <sect1 id="zenity-notification-options">
- <title>–ò–∫–æ–Ω–∞ –∑–∞ —É–≤–µ–¥–æ–º—è–≤–∞–Ω–µ</title>
-
- <para>
- </para>
-
- <variablelist>
-
- <varlistentry>
- <term><option>--text</option>=<replaceable>—Ç–µ–∫—Å—Ç</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è —Ç–µ–∫—Å—Ç–∞, –∫–æ–π—Ç–æ —Å–µ –ø–æ–∫–∞–∑–≤–∞ –≤ —Ä–∞–π–æ–Ω–∞ –∑–∞ —É–≤–µ–¥–æ–º—è–≤–∞–Ω–µ.</para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
- <para>–°–ª–µ–¥–Ω–∏—è—Ç –ø—Ä–∏–º–µ—Ä–µ–Ω —Å–∫—Ä–∏–ø—Ç –ø–æ–∫–∞–∑–≤–∞ –∫–∞–∫ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –∏–∫–æ–Ω–∞ –∑–∞ —É–≤–µ–¥–æ–º—è–≤–∞–Ω–µ: <programlisting>
- #!/bin/sh
-
- zenity --notification\
- --window-icon="info" \
- --text="–ò–º–∞ –Ω–∞–ª–∏—á–Ω–∏ –æ–±–Ω–æ–≤–ª–µ–Ω–∏—è –ø–æ —Å–∏—Å—Ç–µ–º–∞—Ç–∞!"
- </programlisting></para>
-
- <figure id="zenity-notification-screenshot">
- <title>–ü—Ä–∏–º–µ—Ä–Ω–∞ –∏–∫–æ–Ω–∞ –∑–∞ —É–≤–µ–¥–æ–º—è–≤–∞–Ω–µ</title>
- <screenshot>
- <mediaobject>
- <imageobject>
- <imagedata fileref="figures/zenity-notification-screenshot.png" format="PNG"/>
- </imageobject>
- <textobject>
- <phrase><application>Zenity</application> notification icon example</phrase>
- </textobject>
- </mediaobject>
- </screenshot>
- </figure>
-
- </sect1>
-
- <!-- ==== List Options ====== -->
-
- <sect1 id="zenity-list-options">
- <title>–°–ø–∏—Å—ä—á–µ–Ω –ø—Ä–æ–∑–æ—Ä–µ—Ü</title>
-
- <para>–ò–∑–ø–æ–ª–∑–≤–∞–π—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∞—Ç–∞ <option>--list</option>, –∑–∞ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü —Å—ä—Å —Å–ø–∏—Å—ä–∫. <application>Zenity</application> –≤—Ä—ä—â–∞ –∑–∞–ø–∏—Å–∏—Ç–µ –≤ –ø—ä—Ä–≤–∞—Ç–∞ –∫–æ–ª–æ–Ω–∞ —Ç–µ–∫—Å—Ç –Ω–∞ –∏–∑–±—Ä–∞–Ω–∏—Ç–µ —Ä–µ–¥–æ–≤–µ –∫—ä–º —Å—Ç–∞–Ω–¥–∞—Ä—Ç–Ω–∞ –≥—Ä–µ—à–∫–∞.</para>
-
- <para>–î–∞–Ω–Ω–∏—Ç–µ –∑–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ —Ç—Ä—è–±–≤–∞ –¥–∞ –±—ä–¥–∞—Ç –æ–ø—Ä–µ–¥–µ–ª–µ–Ω–∏ –∫–æ–ª–æ–Ω–∞ –ø–æ –∫–æ–ª–æ–Ω–∞, —Ä–µ–¥ –ø–æ —Ä–µ–¥. –î–∞–Ω–Ω–∏—Ç–µ –º–æ–≥–∞—Ç –¥–∞ –±—ä–¥–∞—Ç –ø—Ä–µ–¥–æ—Å—Ç–∞–≤–µ–Ω–∏ –Ω–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ –ø—Ä–µ–∑ —Å—Ç–∞–Ω–¥–∞—Ä—Ç–Ω–∏—è –≤—Ö–æ–¥. –í—Å–µ–∫–∏ –∑–∞–ø–∏—Å —Ç—Ä—è–±–≤–∞ –¥–∞ –±—ä–¥–µ —Ä–∞–∑–¥–µ–ª–µ–Ω –æ—Ç —Å–∏–º–≤–æ–ª –∑–∞ –Ω–æ–≤ —Ä–µ–¥.</para>
-
- <para>–ê–∫–æ –∏–∑–ø–æ–ª–∑–≤–∞—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏—Ç–µ <option>--checklist</option> –∏–ª–∏ <option>--radiolist</option>, –≤—Å–µ–∫–∏ —Ä–µ–¥ —Ç—Ä—è–±–≤–∞ –¥–∞ –∑–∞–ø–æ—á–≤–∞ –∏–ª–∏ —Å 'TRUE', –∏–ª–∏ —Å 'FALSE'.</para>
-
- <para>–ü—Ä–æ–∑–æ—Ä–µ—Ü—ä—Ç —Å—ä—Å —Å–ø–∏—Å—ä–∫ –ø–æ–¥–¥—ä—Ä–∂–∞ —Å–ª–µ–¥–Ω–∏—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏:</para>
-
- <variablelist>
-
- <varlistentry>
- <term><option>--column</option>=<replaceable>–∫–æ–ª–æ–Ω–∞</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è –∑–∞–≥–ª–∞–≤–Ω–∞—Ç–∞ —á–∞—Å—Ç –Ω–∞ –∫–æ–ª–æ–Ω–∏—Ç–µ, –∫–æ–∏—Ç–æ —Å–µ –ø–æ–∫–∞–∑–≤–∞—Ç –≤ —Å–ø–∏—Å—ä–∫–∞. –¢—Ä—è–±–≤–∞ –¥–∞ –æ–ø—Ä–µ–¥–µ–ª–∏—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∞—Ç–∞ <option>--column</option> –∑–∞ –≤—Å—è–∫–∞ –∫–æ–ª–æ–Ω–∞, –∫–æ—è—Ç–æ –∏—Å–∫–∞—Ç–µ –¥–∞ –ø–æ–∫–∞–∂–µ—Ç–µ –≤ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--checklist</option></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è, —á–µ –ø—ä—Ä–≤–∞—Ç–∞ –∫–æ–ª–æ–Ω–∞ –≤ –ø—ä—Ä–≤–∏—è –ø—Ä–æ–∑–æ—Ä–µ—Ü —Å—ä—Å —Å–ø–∏—Å—ä–∫ —Å—ä–¥—ä—Ä–∂–∞ –ø–æ–ª–µ—Ç–∞ –∑–∞ –æ—Ç–º–µ—Ç–∫–∏.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--radiolist</option></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è —Ç–æ–≤–∞, —á–µ –ø—ä—Ä–≤–∞—Ç–∞ –∫–æ–ª–æ–Ω–∞ –≤ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ —Å—ä—Å —Å–ø–∏—Å—ä–∫ —Å—ä–¥—ä—Ä–∂–∞ —Ä–∞–¥–∏–æ –±—É—Ç–æ–Ω–∏.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--editable</option></term>
- <listitem>
- <para>–ü–æ–∑–≤–æ–ª—è–≤–∞ –ø–æ–∫–∞–∑–∞–Ω–∏—Ç–µ –µ–ª–µ–º–µ–Ω—Ç–∏ –¥–∞ –±—ä–¥–∞—Ç —Ä–µ–¥–∞–∫—Ç–∏—Ä–∞–Ω–∏.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--separator</option>=<replaceable>—Ä–∞–∑–¥–µ–ª–∏—Ç–µ–ª</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è –∫–æ–π –Ω–∏–∑ –µ –∏–∑–ø–æ–ª–∑–≤–∞–Ω, –∫–æ–≥–∞—Ç–æ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ —Å—ä—Å —Å–ø–∏—Å—ä–∫ –≤—Ä—ä—â–∞ –∏–∑–±—Ä–∞–Ω–∏—Ç–µ –∑–∞–ø–∏—Å–∏.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--print-column</option>=<replaceable>–∫–æ–ª–æ–Ω–∞</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è –∫–æ–∏ –∫–æ–ª–æ–Ω–∏ –¥–∞ –±—ä–¥–∞—Ç –∏–∑–≤–µ–¥–µ–Ω–∏ —Å–ª–µ–¥ –∏–∑–±–æ—Ä–∞. –°—Ç–∞–Ω–¥–∞—Ä—Ç–Ω–∞—Ç–∞ –∫–æ–ª–æ–Ω–∞ –µ "1". "ALL" –º–æ–∂–µ –¥–∞ —Å–µ –∏–∑–ø–æ–ª–∑–≤–∞, –∑–∞ –¥–∞ —Å–µ –∏–∑–≤–µ–¥–∞—Ç –≤—Å–∏—á–∫–∏ –∫–æ–ª–æ–Ω–∏ –≤ —Å–ø–∏—Å—ä–∫–∞.</para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
- <para>–°–ª–µ–¥–Ω–∏—è—Ç –ø—Ä–∏–º–µ—Ä –ø–æ–∫–∞–∑–≤–∞ –∫–∞–∫ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ —Å–ø–∏—Å—ä—á–µ–Ω –ø—Ä–æ–∑–æ—Ä–µ—Ü: <programlisting>
- #!/bin/sh
-
- zenity --list \
- --title="–ò–∑–±–µ—Ä–µ—Ç–µ –≥—Ä–µ—à–∫–∏—Ç–µ, –∫–æ–∏—Ç–æ –∏—Å–∫–∞—Ç–µ –¥–∞ –ø—Ä–µ–≥–ª–µ–¥–∞—Ç–µ" \
- --column="–ù–æ–º–µ—Ä –Ω–∞ –≥—Ä–µ—à–∫–∞" --column="–°–µ—Ä–∏–æ–∑–Ω–æ—Å—Ç" --column="–û–ø–∏—Å–∞–Ω–∏–µ" \
- 992383 –ù–æ—Ä–º–∞–ª–Ω–∞ "GtkTreeView –∑–∞–±–∏–≤–∞ –ø—Ä–∏ –º–Ω–æ–∂–µ—Å—Ç–≤–µ–Ω –∏–∑–±–æ—Ä" \
- 293823 –í–∏—Å–æ–∫–∞ "GNOME Dictionary –Ω–µ –ø–æ–¥–¥—ä—Ä–∂–∞ —Å—ä—Ä–≤—ä—Ä –ø–æ—Å—Ä–µ–¥–Ω–∏–∫" \
- 393823 –ö—Ä–∏—Ç–∏—á–Ω–∞ "–†–µ–¥–∞–∫—Ç–∏—Ä–∞–Ω–µ—Ç–æ –Ω–∞ –º–µ–Ω—é—Ç–æ –Ω–µ —Ä–∞–±–æ—Ç–∏ –≤ GNOME 2.0"
- </programlisting></para>
-
- <figure id="zenity-list-screenshot">
- <title>–ü—Ä–∏–º–µ—Ä –∑–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü —Å—ä—Å —Å–ø–∏—Å—ä–∫</title>
- <screenshot>
- <mediaobject>
- <imageobject>
- <imagedata fileref="figures/zenity-list-screenshot.png" format="PNG"/>
- </imageobject>
- <textobject>
- <phrase><application>Zenity</application> list dialog example</phrase>
- </textobject>
- </mediaobject>
- </screenshot>
- </figure>
-
- </sect1>
-
- <!-- ==== Message Options ====== -->
-
- <sect1 id="zenity-message-options">
- <title>–ü—Ä–æ–∑–æ—Ä—Ü–∏ —Å—ä—Å —Å—ä–æ–±—â–µ–Ω–∏—è</title>
-
- <para><application>Zenity</application> –º–æ–∂–µ –¥–∞ —Å—ä–∑–¥–∞–≤–∞ —á–µ—Ç–∏—Ä–∏ –≤–∏–¥–∞ –ø—Ä–æ–∑–æ—Ä—Ü–∏ —Å—ä—Å —Å—ä–æ–±—â–µ–Ω–∏—è:</para>
- <itemizedlist>
- <listitem>
- <para>–ì—Ä–µ—à–∫–∞</para>
- </listitem>
- <listitem>
- <para>–ò–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è</para>
- </listitem>
- <listitem>
- <para>–í—ä–ø—Ä–æ—Å</para>
- </listitem>
- <listitem>
- <para>–ü—Ä–µ–¥—É–ø—Ä–µ–∂–¥–µ–Ω–∏–µ</para>
- </listitem>
- </itemizedlist>
-
- <para>–ó–∞ –≤—Å–µ–∫–∏ –≤–∏–¥, –∏–∑–ø–æ–ª–∑–≤–∞–π—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∞—Ç–∞ <option>--text</option>, –∑–∞ –¥–∞ –æ–ø—Ä–µ–¥–µ–ª–∏—Ç–µ —Ç–µ–∫—Å—Ç–∞, –∫–æ–π—Ç–æ –¥–∞ —Å–µ –ø–æ–∫–∞–∑–≤–∞ –≤ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞.</para>
-
- <sect2 id="zenity-error-dialog">
- <title>–ü—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –≥—Ä–µ—à–∫–∞</title>
-
- <para>–ò–∑–ø–æ–ª–∑–≤–∞–π—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∞—Ç–∞ <option>--error</option>, –∑–∞ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –≥—Ä–µ—à–∫–∞.</para>
-
- <para>–°–ª–µ–¥–Ω–∏—è—Ç –ø—Ä–∏–º–µ—Ä–µ–Ω —Å–∫—Ä–∏–ø—Ç –ø–æ–∫–∞–∑–≤–∞ –∫–∞–∫ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –≥—Ä–µ–ø–∫–∞: <programlisting>
- #!/bin/bash
-
- zenity --error \
- --text="–ù–µ –º–æ–∂–µ –¥–∞ —Å–µ –æ—Ç–∫—Ä–∏–µ /var/log/syslog."
- </programlisting></para>
-
- <figure id="zenity-error-screenshot">
- <title>–ü—Ä–∏–º–µ—Ä –∑–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –≥—Ä–µ—à–∫–∞</title>
- <screenshot>
- <mediaobject>
- <imageobject>
- <imagedata fileref="figures/zenity-error-screenshot.png" format="PNG"/>
- </imageobject>
- <textobject>
- <phrase><application>Zenity</application> error dialog example</phrase>
- </textobject>
- </mediaobject>
- </screenshot>
- </figure>
- </sect2>
-
- <sect2 id="zenity-info-dialog">
- <title>–ü—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è</title>
-
- <para>–ò–∑–ø–æ–ª–∑–≤–∞–π—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∞—Ç–∞ <option>--info</option>, –∑–∞ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è.</para>
-
- <para>–°–ª–µ–¥–Ω–∏—è—Ç –ø—Ä–∏–º–µ—Ä–µ–Ω —Å–∫—Ä–∏–ø—Ç –ø–æ–∫–∞–∑–≤–∞ –∫–∞–∫ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è: <programlisting>
- #!/bin/bash
-
- zenity --info \
- --text="–°–ª–∏–≤–∞–Ω–µ—Ç–æ –µ –∑–∞–≤—ä—Ä—à–µ–Ω–æ. –û–±–Ω–æ–≤–µ–Ω–∏ —Å–∞ 3 –æ—Ç 10 —Ñ–∞–π–ª–∞."
- </programlisting></para>
-
- <figure id="zenity-information-screenshot">
- <title>–ü—Ä–∏–º–µ—Ä –∑–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è</title>
- <screenshot>
- <mediaobject>
- <imageobject>
- <imagedata fileref="figures/zenity-information-screenshot.png" format="PNG"/>
- </imageobject>
- <textobject>
- <phrase><application>Zenity</application> information dialog example</phrase>
- </textobject>
- </mediaobject>
- </screenshot>
- </figure>
- </sect2>
-
- <sect2 id="zenity-question-dialog">
- <title>–ü—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –≤—ä–ø—Ä–æ—Å–∏</title>
-
- <para>–ò–∑–ø–æ–ª–∑–≤–∞–π—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∞—Ç–∞ <option>--question</option>, –∑–∞ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –≤—ä–ø—Ä–æ—Å–∏.</para>
-
- <para>–°–ª–µ–¥–Ω–∏—è—Ç –ø—Ä–∏–º–µ—Ä–µ–Ω —Å–∫—Ä–∏–ø—Ç –ø–æ–∫–∞–∑–≤–∞ –∫–∞–∫ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –≤—ä–ø—Ä–æ—Å–∏: <programlisting>
- #!/bin/bash
-
- zenity --question \
- --text="–°–∏–≥—É—Ä–Ω–∏ –ª–∏ —Å—Ç–µ, —á–µ –∏—Å–∫–∞—Ç–µ –¥–∞ –ø—Ä–æ–¥—ä–ª–∂–∏—Ç–µ?"
- </programlisting></para>
-
- <figure id="zenity-question-screenshot">
- <title>–ü—Ä–∏–º–µ—Ä –∑–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –≤—ä–ø—Ä–æ—Å–∏</title>
- <screenshot>
- <mediaobject>
- <imageobject>
- <imagedata fileref="figures/zenity-question-screenshot.png" format="PNG"/>
- </imageobject>
- <textobject>
- <phrase><application>Zenity</application> question dialog example</phrase>
- </textobject>
- </mediaobject>
- </screenshot>
- </figure>
- </sect2>
-
- <sect2 id="zenity-warning-dialog">
- <title>–ü—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –ø—Ä–µ–¥—É–ø—Ä–µ–∂–¥–µ–Ω–∏–µ</title>
-
- <para>–ò–∑–ø–æ–ª–∑–≤–∞–π—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∞—Ç–∞ <option>--warning</option>, –∑–∞ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –ø—Ä–µ–¥—É–ø—Ä–µ–∂–¥–µ–Ω–∏–µ.</para>
-
- <para>–°–ª–µ–¥–Ω–∏—è—Ç –ø—Ä–∏–º–µ—Ä–µ–Ω —Å–∫—Ä–∏–ø—Ç –ø–æ–∫–∞–∑–≤–∞ –∫–∞–∫ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –ø—Ä–µ–¥—É–ø—Ä–µ–∂–¥–µ–Ω–∏–µ: <programlisting>
- #!/bin/bash
-
- zenity --warning \
- --text="–ò–∑–∫–ª—é—á–µ—Ç–µ –∑–∞—Ö—Ä–∞–Ω–≤–∞—â–∏—è –∫–∞–±–µ–ª, –∑–∞ –¥–∞ –∏–∑–±–µ–≥–Ω–µ—Ç–µ —Ç–æ–∫–æ–≤ —É–¥–∞—Ä."
- </programlisting></para>
-
- <figure id="zenity-warning-screenshot">
- <title>–ü—Ä–∏–º–µ—Ä –∑–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –ø—Ä–µ–¥—É–ø—Ä–µ–∂–¥–µ–Ω–∏–µ</title>
- <screenshot>
- <mediaobject>
- <imageobject>
- <imagedata fileref="figures/zenity-warning-screenshot.png" format="PNG"/>
- </imageobject>
- <textobject>
- <phrase><application>Zenity</application> warning dialog example</phrase>
- </textobject>
- </mediaobject>
- </screenshot>
- </figure>
- </sect2>
-
- </sect1>
-
- <!-- ==== Progress Options ====== -->
-
- <sect1 id="zenity-progress-options">
- <title>–ü—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –ø—Ä–æ–≥—Ä–µ—Å</title>
-
- <para>–ò–∑–ø–æ–ª–∑–≤–∞–π—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∞—Ç–∞ <option>--progress</option>, –∑–∞ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –ø—Ä–æ–≥—Ä–µ—Å.</para>
-
- <para><application>Zenity</application> —á–µ—Ç–µ –¥–∞–Ω–Ω–∏ –æ—Ç —Å—Ç–∞–Ω–¥–∞—Ä—Ç–Ω–∏—è –≤—Ö–æ–¥ —Ä–µ–¥ –ø–æ —Ä–µ–¥. –ê–∫–æ –Ω—è–∫–æ–π —Ä–µ–¥ –∑–∞–ø–æ—á–≤–∞ —Å #, —Ç–µ–∫—Å—Ç—ä—Ç —Å–µ –æ–±–Ω–æ–≤—è–≤–∞ —Å —Ç–µ–∫—Å—Ç–∞ –Ω–∞ —Ç–æ–∑–∏ —Ä–µ–¥. –ê–∫–æ —Ä–µ–¥ —Å—ä–¥—ä—Ä–∂–∞ —Å–∞–º–æ —á–∏—Å–ª–æ, –ø—Ä–æ—Ü–µ–Ω—Ç—ä—Ç —Å–µ –æ–±–Ω–æ–≤—è–≤–∞ –∫—ä–º —Ç–æ–≤–∞ —á–∏—Å–ª–æ.</para>
-
- <para>–ü—Ä–æ–∑–æ—Ä–µ—Ü—ä—Ç –∑–∞ –ø—Ä–æ–≥—Ä–µ—Å –ø–æ–¥–¥—ä—Ä–∂–∞ —Å–ª–µ–¥–Ω–∏—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏:</para>
-
- <variablelist>
-
- <varlistentry>
- <term><option>--text</option>=<replaceable>—Ç–µ–∫—Å—Ç</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è —Ç–µ–∫—Å—Ç–∞, –∫–æ–π—Ç–æ –¥–∞ —Å–µ –ø–æ–∫–∞–∑–≤–∞ –≤ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ –∑–∞ –ø—Ä–æ–≥—Ä–µ—Å.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--percentage</option>=<replaceable>–ø—Ä–æ—Ü–µ–Ω—Ç–∏</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è –Ω–∞—á–∞–ª–Ω–∏—Ç–µ –ø—Ä–æ—Ü–µ–Ω—Ç–∏, –∫–æ–∏—Ç–æ –¥–∞ —Å–µ –Ω–∞—Å—Ç—Ä–æ—è—Ç –∑–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ –∑–∞ –ø—Ä–æ–≥—Ä–µ—Å.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--auto-close</option></term>
- <listitem>
- <para>–ó–∞—Ç–≤–∞—Ä—è –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ –∑–∞ –ø—Ä–æ–≥—Ä–µ—Å, –∫–æ–≥–∞—Ç–æ —Å–µ –¥–æ—Å—Ç–∏–≥–Ω–∞—Ç —Å—Ç–æ—Ç–µ –ø—Ä–æ—Ü–µ–Ω—Ç–∞.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--pulsate</option></term>
- <listitem>
- <para>–£–∫–∞–∑–≤–∞, —á–µ –ª–µ–Ω—Ç–∞—Ç–∞ –∑–∞ –ø—Ä–æ–≥—Ä–µ—Å–∞ –ø—É–ª—Å–∏—Ä–∞ –¥–æ–∫–∞—Ç–æ –≤—ä–≤ –≤—Ö–æ–¥–∞ –Ω–µ —Å–µ –¥–æ—Å—Ç–∏–≥–Ω–µ –¥–æ –∑–Ω–∞–∫–∞ EOF.</para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
- <para>–°–ª–µ–¥–Ω–∏—è—Ç –ø—Ä–∏–º–µ—Ä–µ–Ω —Å–∫—Ä–∏–ø—Ç –ø–æ–∫–∞–∑–≤–∞ –∫–∞–∫ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü —Å –ø—Ä–æ–≥—Ä–µ—Å: <programlisting>
- #!/bin/sh
- (
- echo "10" ; sleep 1
- echo "# –û–±–Ω–æ–≤—è–≤–∞–Ω–µ –Ω–∞ –ø–æ—â–µ–Ω—Å–∫–∏—Ç–µ –∂—É—Ä–Ω–∞–ª–∏" ; sleep 1
- echo "20" ; sleep 1
- echo "# –ó–∞–Ω—É–ª—è–≤–∞–Ω–µ –Ω–∞ cron" ; sleep 1
- echo "50" ; sleep 1
- echo "–¢–æ–∑–∏ —Ä–µ–¥ –ø—Ä–æ—Å—Ç–æ —â–µ –±—ä–¥–µ –∏–≥–Ω–æ—Ä–∏—Ä–∞–Ω" ; sleep 1
- echo "75" ; sleep 1
- echo "# –†–µ—Å—Ç–∞—Ä—Ç–∏—Ä–∞–Ω–µ –Ω–∞ —Å–∏—Å—Ç–µ–º–∞—Ç–∞" ; sleep 1
- echo "100" ; sleep 1
- ) |
- zenity --progress \
- --title="–û–±–Ω–æ–≤—è–≤–∞–Ω–µ –Ω–∞ —Å–∏—Å—Ç–µ–º–Ω–∏—Ç–µ –∂—É—Ä–Ω–∞–ª–∏" \
- --text="–°–∫–∞–Ω–∏—Ä–∞–Ω–µ –Ω–∞ –ø–æ—â–µ–Ω—Å–∫–∏—Ç–µ –∂—É—Ä–Ω–∞–ª–∏..." \
- --percentage=0
-
- if [ "$?" = -1 ] ; then
- zenity --error \
- --text="–û–±–Ω–æ–≤—è–≤–∞–Ω–µ—Ç–æ –µ –æ—Ç–∫–∞–∑–∞–Ω–æ."
- fi
-
- </programlisting></para>
-
- <figure id="zenity-progress-screenshot">
- <title>–ü—Ä–∏–º–µ—Ä –∑–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –ø—Ä–æ–≥—Ä–µ—Å</title>
- <screenshot>
- <mediaobject>
- <imageobject>
- <imagedata fileref="figures/zenity-progress-screenshot.png" format="PNG"/>
- </imageobject>
- <textobject>
- <phrase><application>Zenity</application> progress dialog example</phrase>
- </textobject>
- </mediaobject>
- </screenshot>
- </figure>
-
- </sect1>
-
- <!-- ==== Text Entry Options ====== -->
-
- <sect1 id="zenity-text-entry-options">
- <title>–ü—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –≤—ä–≤–µ–∂–¥–∞–Ω–µ –Ω–∞ —Ç–µ–∫—Å—Ç</title>
-
- <para>–ò–∑–ø–æ–ª–∑–≤–∞–π—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∞—Ç–∞ <option>-entry</option>, –∑–∞ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –≤—ä–≤–µ–∂–¥–∞–Ω–µ –Ω–∞ —Ç–µ–∫—Å—Ç. <application>Zenity</application> –≤—Ä—ä—â–∞ —Å—ä–¥—ä—Ä–∂–∞–Ω–∏–µ—Ç–æ –Ω–∞ —Ç–µ–∫—Å—Ç–æ–≤–æ—Ç–æ –ø–æ–ª–µ –∫—ä–º —Å—Ç–∞–Ω–¥–∞—Ä—Ç–Ω–∞ –≥—Ä–µ—à–∫–∞.</para>
- <para>–ü—Ä–æ–∑–æ—Ä–µ—Ü—ä—Ç –∑–∞ –≤—ä–≤–µ–∂–¥–∞–Ω–µ –Ω–∞ —Ç–µ–∫—Å—Ç –ø–æ–¥–¥—ä—Ä–∂–∞ —Å–ª–µ–¥–Ω–∏—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏:</para>
-
- <variablelist>
-
- <varlistentry>
- <term><option>--text</option>=<replaceable>—Ç–µ–∫—Å—Ç</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è —Ç–µ–∫—Å—Ç—ä—Ç, –∫–æ–π—Ç–æ –¥–∞ —Å–µ –ø–æ–∫–∞–∑–≤–∞ –≤ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ –∑–∞ –≤—ä–≤–µ–∂–¥–∞–Ω–µ –Ω–∞ —Ç–µ–∫—Å—Ç.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--entry-text</option>=<replaceable>—Ç–µ–∫—Å—Ç</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è —Ç–µ–∫—Å—Ç–∞, –∫–æ–π—Ç–æ –¥–∞ —Å–µ –ø–æ–∫–∞–∑–≤–∞ –≤ –ø–æ–ª–µ—Ç–æ –∑–∞ –≤—ä–≤–µ–∂–¥–∞–Ω–µ –Ω–∞ —Ç–µ–∫—Å—Ç –≤ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ –∑–∞ –≤—ä–≤–µ–∂–¥–∞–Ω–µ –Ω–∞ —Ç–µ–∫—Å—Ç.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--hide-text</option></term>
- <listitem>
- <para>–°–∫—Ä–∏–≤–∞ —Ç–µ–∫—Å—Ç–∞ –≤ –ø–æ–ª–µ—Ç–æ –∑–∞ –≤—ä–≤–µ–∂–¥–∞–Ω–µ –Ω–∞ —Ç–µ–∫—Å—Ç –≤ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ –∑–∞ –≤—ä–≤–µ–∂–¥–∞–Ω–µ –Ω–∞ —Ç–µ–∫—Å—Ç.</para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
- <para>–°–ª–µ–¥–Ω–∏—è—Ç –ø—Ä–∏–º–µ—Ä–µ–Ω —Å–∫—Ä–∏–ø—Ç –ø–æ–∫–∞–∑–≤–∞ –∫–∞–∫ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –≤—ä–≤–µ–∂–¥–∞–Ω–µ –Ω–∞ —Ç–µ–∫—Å—Ç: <programlisting>
- #!/bin/sh
-
- if zenity --entry \
- --title="–î–æ–±–∞–≤—è–Ω–µ –Ω–∞ –∑–∞–ø–∏—Å" \
- --text="–í—ä–≤–µ–¥–µ—Ç–µ _–ø–∞—Ä–æ–ª–∞—Ç–∞ —Å–∏:" \
- --entry-text "–ø–∞—Ä–æ–ª–∞" \
- --hide-text
- then echo $?
- else echo "–ù—è–º–∞ –≤—ä–≤–µ–¥–µ–Ω–∞ –ø–∞—Ä–æ–ª–∞"
- fi
- </programlisting></para>
-
- <figure id="zenity-entry-screenshot">
- <title>–ü—Ä–∏–º–µ—Ä –∑–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü –∑–∞ –≤—ä–≤–µ–∂–¥–∞–Ω–µ –Ω–∞ —Ç–µ–∫—Å—Ç</title>
- <screenshot>
- <mediaobject>
- <imageobject>
- <imagedata fileref="figures/zenity-entry-screenshot.png" format="PNG"/>
- </imageobject>
- <textobject>
- <phrase><application>Zenity</application> text entry dialog example</phrase>
- </textobject>
- </mediaobject>
- </screenshot>
- </figure>
- </sect1>
-
- <!-- ==== Text Information Options ====== -->
-
- <sect1 id="zenity-text-options">
- <title>–ü—Ä–æ–∑–æ—Ä–µ—Ü —Å —Ç–µ–∫—Å—Ç–æ–≤–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è</title>
-
- <para>–ò–∑–ø–æ–ª–∑–≤–∞–π—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∞—Ç–∞ <option>--text-info</option>, –∑–∞ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü —Å —Ç–µ–∫—Å—Ç–æ–≤–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è.</para>
-
- <para>–ü—Ä–æ–∑–æ—Ä–µ—Ü—ä—Ç —Å —Ç–µ–∫—Å—Ç–æ–≤–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è –ø–æ–¥–¥—ä—Ä–∂–∞ —Å–ª–µ–¥–Ω–∏—Ç–µ –Ω–∞—Å—Ç—Ä–æ–π–∫–∏:</para>
-
- <variablelist>
-
- <varlistentry>
- <term><option>--filename</option>=<replaceable>—Ñ–∞–π–ª–æ–≤–æ –∏–º–µ</replaceable></term>
- <listitem>
- <para>–û–ø—Ä–µ–¥–µ–ª—è —Ñ–∞–π–ª, –∫–æ–π—Ç–æ –¥–∞ —Å–µ –∑–∞—Ä–µ–∂–¥–∞ –≤ –ø—Ä–æ–∑–æ—Ä–µ—Ü–∞ —Å —Ç–µ–∫—Å—Ç–æ–≤–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--editable</option></term>
- <listitem>
- <para>–ü–æ–∑–≤–æ–ª—è–≤–∞ –ø–æ–∫–∞–∑–∞–Ω–∏—è—Ç —Ç–µ–∫—Å—Ç –¥–∞ –±—ä–¥–µ —Ä–µ–¥–∞–∫—Ç–∏—Ä–∞–Ω. –†–µ–¥–∞–∫—Ç–∏—Ä–∞–Ω–∏—è—Ç —Ç–µ–∫—Å—Ç —Å–µ –≤—Ä—ä—â–∞ –∫—ä–º —Å—Ç–∞–Ω–¥–∞—Ä—Ç–Ω–∞ –≥—Ä–µ—à–∫–∞, –∫–æ–≥–∞—Ç–æ –ø—Ä–æ–∑–æ—Ä–µ—Ü—ä—Ç –±—ä–¥–µ –∑–∞—Ç–≤–æ—Ä–µ–Ω.</para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
- <para>–°–ª–µ–¥–Ω–∏—è—Ç –ø—Ä–∏–º–µ—Ä–µ–Ω —Å–∫—Ä–∏–ø—Ç –ø–æ–∫–∞–∑–≤–∞ –∫–∞–∫ –¥–∞ —Å—ä–∑–¥–∞–¥–µ—Ç–µ –ø—Ä–æ–∑–æ—Ä–µ—Ü —Å —Ç–µ–∫—Å—Ç–æ–≤–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è: <programlisting>
- #!/bin/sh
-
- FILE=`zenity --file-selection \
- --title="–ò–∑–±–æ—Ä –Ω–∞ —Ñ–∞–π–ª"`
-
- case $? in
- 0)
- zenity --text-info \
- --title=$FILE \
- --filename=$FILE \
- --editable 2>/tmp/tmp.txt;;
- 1)
- echo "–ù—è–º–∞ –∏–∑–±—Ä–∞–Ω —Ñ–∞–π–ª.";;
- -1)
- echo "–ù—è–º–∞ –∏–∑–±—Ä–∞–Ω —Ñ–∞–π–ª.";;
- esac
- </programlisting></para>
-
- <figure id="zenity-text-screenshot">
- <title>–ü—Ä–∏–º–µ—Ä –∑–∞ –ø—Ä–æ–∑–æ—Ä–µ—Ü —Å —Ç–µ–∫—Å—Ç–æ–≤–∞ –∏–Ω—Ñ–æ—Ä–º–∞—Ü–∏—è</title>
- <screenshot>
- <mediaobject>
- <imageobject>
- <imagedata fileref="figures/zenity-text-screenshot.png" format="PNG"/>
- </imageobject>
- <textobject>
- <phrase><application>Zenity</application> text information dialog example</phrase>
- </textobject>
- </mediaobject>
- </screenshot>
- </figure>
-
- </sect1>
-
- </article>
-